package com.serverC.controller;

import com.serverC.entity.User;
import com.serverC.mapper.UserMapper;
import com.serverC.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: wbk
 * @Date: 2024/3/1  10:08
 * @Description:
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @Autowired
    private UserService userService;

    @GetMapping("/add")
    public void add(){
        userService.add();
    }
}
